// JSON Java Class Generator
// Written by Bruce Bao
// Used for API: 
package com.zuihai.app.mvp.model.entity;


import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class MyMessageResultPa implements Parcelable {
    private String content;
    private int isread; //0 未读  1已读

    private String message;
    private int message_watch;
    private String picture;
    private String releaser_id;
    private String releaser_name;
    private String releaser_touxiang;

    public int getIsread() {
        return isread;
    }

    public void setIsread(int isread) {
        this.isread = isread;
    }

    private String releaser_qianming;
    private String tiaomu_id;
    private Long time;
    private String title;
    private String type;
    private String uid;
    @SerializedName("jump_url")
    @Expose
    public Detail.Comment pinglun_content;//评论
   /* @SerializedName("jump_url")
    @Expose
    public List<Detail.Comment> pinglun_content;//评论*/

    public String getReleaserId() {
        return releaser_id;
    }

    public void setReleaser_id(String releaser_id) {
        this.releaser_id = releaser_id;
    }

    public String getReleaserName() {
        return releaser_name;
    }

    public void setReleaser_name(String releaser_name) {
        this.releaser_name = releaser_name;
    }

    public String getReleaserTouxiang() {
        return releaser_touxiang;
    }

    public void setReleaser_touxiang(String releaser_touxiang) {
        this.releaser_touxiang = releaser_touxiang;
    }

    public String getTiaomuId() {
        return tiaomu_id;
    }

    public void setTiaomu_id(String tiaomu_id) {
        this.tiaomu_id = tiaomu_id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }


    public int getMessage_watch() {
        return message_watch;
    }

    public void setMessage_watch(int message_watch) {
        this.message_watch = message_watch;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public MyMessageResultPa() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.content);
        dest.writeInt(this.isread);
        dest.writeString(this.message);
        dest.writeInt(this.message_watch);
        dest.writeString(this.picture);
        dest.writeString(this.releaser_id);
        dest.writeString(this.releaser_name);
        dest.writeString(this.releaser_touxiang);
        dest.writeString(this.releaser_qianming);
        dest.writeString(this.tiaomu_id);
        dest.writeValue(this.time);
        dest.writeString(this.title);
        dest.writeString(this.type);
        dest.writeString(this.uid);
        dest.writeParcelable(this.pinglun_content, flags);
    }

    protected MyMessageResultPa(Parcel in) {
        this.content = in.readString();
        this.isread = in.readInt();
        this.message = in.readString();
        this.message_watch = in.readInt();
        this.picture = in.readString();
        this.releaser_id = in.readString();
        this.releaser_name = in.readString();
        this.releaser_touxiang = in.readString();
        this.releaser_qianming = in.readString();
        this.tiaomu_id = in.readString();
        this.time = (Long) in.readValue(Long.class.getClassLoader());
        this.title = in.readString();
        this.type = in.readString();
        this.uid = in.readString();
        this.pinglun_content = in.readParcelable(Detail.Comment.class.getClassLoader());
    }

    public static final Creator<MyMessageResultPa> CREATOR = new Creator<MyMessageResultPa>() {
        @Override
        public MyMessageResultPa createFromParcel(Parcel source) {
            return new MyMessageResultPa(source);
        }

        @Override
        public MyMessageResultPa[] newArray(int size) {
            return new MyMessageResultPa[size];
        }
    };


}
